﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Battle.aspx.cs" Inherits="smallDeimos.HelpPages.Battle" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Small Deimos - help</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        The battle procedure is simple
        <br />
        <ul>
            <li>Calculate the amount of damage the ships on both side do</li>
            <li>Distribute the damage</li>
            <li>Repeat the procedure if not all ships are dead</li>
        </ul>
        The amount of damange is the attack value of all your ships multiplied by your attack
        bonus and 1 + your phys/100. So the better your phys the more damange you do.
        <br />
        Dealing damage is bit more complicated. Basical it loops over destroyers, cruisers,
        battleships and sb in your fleet and check if it's killed or not. The chance it
        isn't killed is in case of ds your math/1.5 and on the other ships math/2 this is
        in % I hope you can understand this.<br /><br />
         <b>Example</b><br /> Attacker have 50 ds and defender has
        10ds, both have phy = 5 and attacker math = 10, defender math = 50 and neutral race
        Attacker inflict 50 * 2 * 1 * (1+0.05) = 105 points of damage Defender only 10 *
        2 * 1 * (1+0.05) = 21 points. <br />
         <b>Dealing the damage</b>: 
        <br />
        105 points can kill 105ds for neutral
        player race, but each of the defender ds may survive with 33.3% chance(thanks to
        his math).Thanks to his supperior science(+6 in math) defender gets 25% to the defense
        so 105 points of damage can kill only 105 / ( 1 * (1 + 0.25)) = 84 ds 21 points
        can kill 21 ds for neutral race but each of the attacke ds may survive only with
        6.6% 
    </div>
    </form>
</body>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3064084-4");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</html>
